#include <iostream>
#include <array>

int main()
{
    std::array<int, 5> arrays;
    for (int i = 0; i < 5; i++)
    {
        arrays[i] = i;
        std::cout << arrays[i] << std::endl;
    }

}